package demo1;

import com.sun.xml.internal.ws.api.model.wsdl.WSDLOutput;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: wx
 * Date: 2023-09-13
 * Time: 1:51
 */
public class Test {
    public static void main(String[] args) {
        CardDemo cardDemo = new CardDemo();
        List<Card> cardList = cardDemo.buyCard();
        System.out.println("买的牌如下");
        System.out.println(cardList);

        System.out.println("洗牌");
        cardDemo.shuffle(cardList);
        System.out.println(cardList);

        System.out.println("揭牌");
        cardDemo.getCard(cardList);

    }


}
